package service

import "notabug.org/BigWaffleMonster/ip-checker-telegram-bot/pkg/repository"

type UserPostgres interface {
	WriteIpToDB()
}

type Service struct {
	UserPostgres
}

func NewService(repos *repository.Repository) *Service {
	return &Service{
		UserPostgres: NewUserPostgresService(),
	}
}
